#if !defined(_SException_H)
#define _SException_H

#include <stdexcept>

#include "alias.h"

/**
 * The SCOTT Exception base class.
 */
class DECLARATION_DLL SException : public runtime_error
{
	public:
		SException(const string& message) : runtime_error(message) {}
		virtual ~SException() throw() {}

		/** Get the error message. */
		virtual string Message() const
		{ 			
			return string(what()); 
		}
};

#endif  // _SException_H
